import request from '@/request';

// 发布、修改 领养
export const adoptPublish = (data) => {
	return request('/api/publish/adopt_publish', data, 'post');
}

// 领养详情获取
export const getAdoptsEdit = (data) => {
	return request('/api/publish/adopt_edit', data);
}

// 发布、修改 寻宠
export const findPetPublish = (data) => {
	return request('/api/publish/find_pet_publish', data, 'post');
}

// 寻宠详情获取
export const getFindPetEdit = (data) => {
	return request('/api/publish/find_pet_edit', data);
}

// 发布、修改 寻主
export const findMasterPublish = (data) => {
	return request('/api/publish/find_master_publish', data, 'post');
}

// 寻主详情获取
export const getFindMasterEdit = (data) => {
	return request('/api/publish/find_master_edit', data);
}
